package com.ruoyi.crm.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商机收款详情对象 crm_order_collect_details
 *
 * @author yanwenliang
 * @date 2024-11-27
 */
@Data
@TableName("crm_order_collect_details")
public class CrmOrderCollectDetails implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 回款详情id */
    @TableId(type = IdType.ASSIGN_ID)
    private String collectDetailsId;

    /** 收付款id */
    @Excel(name = "收付款id")
    private String collectPayMoneyId;

    /** 回款详情名称 */
    @Excel(name = "回款详情名称")
    private String collectDetailsName;

    /** 预计收款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计收款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date collectDetailsTime;

    /** 预计收款金额 */
    @Excel(name = "预计收款金额")
    private BigDecimal collectDetailsAmount;

    /** 收款状态 */
    @Excel(name = "收款状态")
    private String collectDetailsStatus;

    /** 归属人 */
    @Excel(name = "归属人")
    private String userId;

    private String remark;
}
